package com.maxatime.dao;

import java.util.List;

import com.maxatime.pojo.entity.Grade;

public interface GradeMapper {
    
    int deleteByPrimaryKey1(String gradeId);//删除

    int insert(Grade record);

    int insertSelective(Grade grade);//新增

    int updateByPrimaryKeySelective(Grade record);//修改

    int updateByPrimaryKey(Grade record);
    
    List<Grade> listData(Grade grade);//查询
    
    List<Grade> listData2(Grade grade);//查询柱状形态图
    
    Grade findgradeId(String gradeId);//反显
    
    Grade selectByPrimaryKey(String gradeId);//跳转详情查询  
    
    int updateStu(String gradeId);//查询学生数量
    
    
}